package com.cc.gresturelock;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by YT on 2016/8/28.
 */

public class UnLockActivity extends AppCompatActivity {
    LockView lockView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settinglock);
        lockView = (LockView) findViewById(R.id.lv);
        lockView.setMode(LockView.MODE_VERIFY);
        lockView.setOnGestureListener(new LockView.OnGestureListener() {
            @Override
            public void onSuccess() {

            }

            @Override
            public void onFailed() {

            }
        });
    }
}
